<nav class="navbar navbar-default">
  <div class="container">
    <div class="navbar-header">
	    <img id="logo" src="<?php echo base_url(); ?>public/images/logo.jpg">
	    <a class="navbar-brand " href="<?php echo site_url('/article'); ?>">王高峰的Blog后台</a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav ">
      	<li <?php if($this->page_name=="article"){?> class="active" <?php }?>><a href="<?php echo site_url('/admin/article/index'); ?>">文章列表</a></li>
      	<li <?php if($this->page_name=="catalog"){?> class="active" <?php }?>><a href="<?php echo site_url('/admin/catalog/index'); ?>">分类列表</a></li>
      </ul>
    </div>
  </div>
</nav>